/**
 * Copyright (C), 2020, Y2 T205
 * FileName: SkuEsModel
 * Author: Lenovo
 * Date: 2020-05-19 9:53
 * Description:
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */


package com.atguigu.common.to.es;


import jdk.internal.util.xml.impl.Attrs;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author Lenovo
 * @create 2020-05-19
 * @since 1.0.0
 */
@Data
public class SkuEsModel {

     private Long skuId;
     private Long spuId;
     private String skuTitle;
     private BigDecimal skuPrice;
     private String skuImg;
     private Long saleCount;
     private Boolean hasStock;
     private Long hotScore;
     private Long brandId;
     private Long catalogId;
     private String brandName;
     private String brandImg;
     private String catalogName;

     private List<Attrs> attrs;

     @Data
    public static class Attrs{
         private Long attrId;
         private String attrName;
         private String attrValue;
     }


}
